home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / iagad / r3iagad.js < prev   
Encoding:
JavaScript  |  2005-04-04  |  3.8 KB  |  136 lines

  1.  
  2. // JavaScript wrapper for r3iagad.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_INTERACTORGADGET_H = 1;
  7. include("oops/r3gadget.js")
  8.  
  9.  
  10. var R3CLID_INTERACTORGADGET = 1320;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3IAGADA_UnitConverter = 1320500;
  19. function SetR3IAGADA_UnitConverter(value) {
  20.   R3Set(this.r3obj, R3IAGADA_UnitConverter, value, R3TID_OBJECT, 0); 
  21. }
  22.  
  23. function GetR3IAGADA_UnitConverter() {
  24.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_UnitConverter, R3TID_OBJECT, 0)); 
  25. }
  26.  
  27. R3IAGADA_Gmanager = 1320501;
  28. function GetR3IAGADA_Gmanager() {
  29.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Gmanager, R3TID_OBJECT, 0)); 
  30. }
  31.  
  32. R3IAGADA_Channels = 1320502;
  33. function SetR3IAGADA_Channels(value) {
  34.   R3Set(this.r3obj, R3IAGADA_Channels, value, R3TID_OBJECT, 0); 
  35. }
  36.  
  37. function GetR3IAGADA_Channels() {
  38.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Channels, R3TID_OBJECT, 0)); 
  39. }
  40.  
  41. R3IAGADA_Interactor = 1320503;
  42. function SetR3IAGADA_Interactor(value) {
  43.   R3Set(this.r3obj, R3IAGADA_Interactor, value, R3TID_OBJECT, 0); 
  44. }
  45.  
  46. function GetR3IAGADA_Interactor() {
  47.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Interactor, R3TID_OBJECT, 0)); 
  48. }
  49.  
  50. R3IAGADA_Prims = 1320504;
  51. function SetR3IAGADA_Prims(value) {
  52.   R3Set(this.r3obj, R3IAGADA_Prims, value, R3TID_OBJECT, 0); 
  53. }
  54.  
  55. function GetR3IAGADA_Prims() {
  56.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Prims, R3TID_OBJECT, 0)); 
  57. }
  58.  
  59. R3IAGADA_Materials = 1320505;
  60. function SetR3IAGADA_Materials(value) {
  61.   R3Set(this.r3obj, R3IAGADA_Materials, value, R3TID_OBJECT, 0); 
  62. }
  63.  
  64. function GetR3IAGADA_Materials() {
  65.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Materials, R3TID_OBJECT, 0)); 
  66. }
  67.  
  68. R3IAGADA_Particles = 1320506;
  69. function SetR3IAGADA_Particles(value) {
  70.   R3Set(this.r3obj, R3IAGADA_Particles, value, R3TID_OBJECT, 0); 
  71. }
  72.  
  73. function GetR3IAGADA_Particles() {
  74.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Particles, R3TID_OBJECT, 0)); 
  75. }
  76.  
  77. R3IAGADA_Grids = 1320507;
  78. function SetR3IAGADA_Grids(value) {
  79.   R3Set(this.r3obj, R3IAGADA_Grids, value, R3TID_OBJECT, 0); 
  80. }
  81.  
  82. function GetR3IAGADA_Grids() {
  83.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_Grids, R3TID_OBJECT, 0)); 
  84. }
  85.  
  86. R3IAGADA_CurrentLayer = 1320508;
  87. function SetR3IAGADA_CurrentLayer(value) {
  88.   R3Set(this.r3obj, R3IAGADA_CurrentLayer, value, R3TID_OBJECT, 0); 
  89. }
  90.  
  91. function GetR3IAGADA_CurrentLayer() {
  92.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_CurrentLayer, R3TID_OBJECT, 0)); 
  93. }
  94.  
  95. R3IAGADA_RenderSettings = 1320509;
  96. function SetR3IAGADA_RenderSettings(value) {
  97.   R3Set(this.r3obj, R3IAGADA_RenderSettings, value, R3TID_OBJECT, 0); 
  98. }
  99.  
  100. function GetR3IAGADA_RenderSettings() {
  101.   return R3ToJS(R3Get(this.r3obj, R3IAGADA_RenderSettings, R3TID_OBJECT, 0)); 
  102. }
  103.  
  104.  
  105.  
  106. function r3Interactorgadget () { 
  107.    this.base = r3God;
  108.    if(arguments.length) {
  109.       this.base(R3CLID_INTERACTORGADGET, arguments);
  110.    }
  111.    // Methods
  112.  
  113.    // Attributes
  114.    this.GetUnitConverter=GetR3IAGADA_UnitConverter;
  115.    this.SetUnitConverter=SetR3IAGADA_UnitConverter;
  116.    this.GetGmanager=GetR3IAGADA_Gmanager;
  117.    this.GetChannels=GetR3IAGADA_Channels;
  118.    this.SetChannels=SetR3IAGADA_Channels;
  119.    this.GetInteractor=GetR3IAGADA_Interactor;
  120.    this.SetInteractor=SetR3IAGADA_Interactor;
  121.    this.GetPrims=GetR3IAGADA_Prims;
  122.    this.SetPrims=SetR3IAGADA_Prims;
  123.    this.GetMaterials=GetR3IAGADA_Materials;
  124.    this.SetMaterials=SetR3IAGADA_Materials;
  125.    this.GetParticles=GetR3IAGADA_Particles;
  126.    this.SetParticles=SetR3IAGADA_Particles;
  127.    this.GetGrids=GetR3IAGADA_Grids;
  128.    this.SetGrids=SetR3IAGADA_Grids;
  129.    this.GetCurrentLayer=GetR3IAGADA_CurrentLayer;
  130.    this.SetCurrentLayer=SetR3IAGADA_CurrentLayer;
  131.    this.GetRenderSettings=GetR3IAGADA_RenderSettings;
  132.    this.SetRenderSettings=SetR3IAGADA_RenderSettings;
  133. }
  134.  
  135. r3Interactorgadget.prototype=new r3Gadget;
  136. // r3iagad.h_H